package com.flushbonading.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlx
 * @since 2021-04-07
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@TableName("t_registration")
@ApiModel(value="Registration对象", description="")
public class Registration implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "学号")
    private String student_number;

    @ApiModelProperty(value = "身份证号")
    private String id_card;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "班级")
    private String class_name;

    @ApiModelProperty(value = "项目经验")
    private String experience;

    @ApiModelProperty(value = "技能与获奖")
    private String skill;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime update_time;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime create_time;

    @ApiModelProperty(value = "是否被录取")
    private Boolean admit;

    @ApiModelProperty(value = "角色")
    private Integer role_id;


}
